home *** CD-ROM | disk | FTP | other *** search
/ 130 MIDI Tool Box / 130 MIDI Tool Box.iso / patchbak / pb.doc < prev    next >
Text File  |  1989-04-06  |  20KB  |  428 lines

  1.  
  2.                             PRESS <Esc> TO RETURN
  3.  
  4.  
  5.                                    PATCHBAK
  6.                            MIDI Data Backup Utility
  7.                                 Evaluation Copy 
  8.                           Version D
  9.                                 April 5, 1989
  10.  
  11.  
  12. WHAT IS PATCHBAK?
  13.  
  14.    PatchBak is a software program that enables a PC with MIDI interface to
  15.    send, receive, and store bulk MIDI System Exclusive dumps. Although dedi-
  16.    cated MIDI disk drives are available for the same purpose, a PC offers many
  17.    advantages over the single-function disk drive, including greater storage
  18.    capacity and the ability to run sequencers and other software.
  19.  
  20.    PatchBak began as a simple program to back up a few cartridges of Casio CZ
  21.    sounds using an IBM PC. However, the program quickly evolved into a generic
  22.    package that could work with any piece of MIDI gear capable of initiating
  23.    its own System Exclusive dump.
  24.  
  25.    PatchBak was written around the Music Quest MIDI Coprocessor Card (MCC).
  26.    The MCC was chosen because of Music Quest's excellent hardware and software
  27.    support. The MCC provides MPU-401 compatibility with a few features the 401
  28.    lacks. Equally important, Music Quest offers an MCC Programmer's Toolkit 
  29.    that simplifies writing custom software for the MCC and MPU-401.
  30.  
  31.    PatchBak's menu system is quite easy to master. A major goal of the menus
  32.    has been to make the keystrokes intuitive and consistent throughout the
  33.    program.  
  34.  
  35.    At about one tenth the price of a MIDI disk drive, you'll find PatchBak a 
  36.    worthwhile addition to your PC and collection of MIDI software.
  37.  
  38.  
  39. PATCHBAK FEATURES
  40.  
  41.    o Stores and saves complete System Exclusive dumps, including dumps which
  42.      contain many "End of Sys Ex" terminators (typical of Casio dumps).
  43.  
  44.    o Receive function handles non-SysEx signals that may also be present in the
  45.      MIDI data stream. (Evaluation Version B and later versions).
  46.  
  47.    o Sends and receives System Exclusive dumps using all available PC memory,
  48.      or up to about 200,000 MIDI characters into a PC with 640k. The actual 
  49.      maximum depends on your computer, your DOS, and other factors unique to
  50.      your setup.
  51.  
  52.    o Overlay quick-select menus, with on-screen instructions.
  53.  
  54.    o Extensive error checking with understandable error messages.
  55.  
  56.    o Roland MPU-401 and Music Quest MCC compatibility. Works with all 
  57.      interrupts and addresses of the MCC.
  58.  
  59.    o PBSETUP program to customize hardware address and interrupt, screen 
  60.      colors, dumpsize, and other features.
  61.  
  62.    o Provides for an "accessory command"  -- run a patch editor, librarian,
  63.      or DOS command as an extension of PatchBak.
  64.  
  65.    o Toolkit functions show MIDI transmissions as hex bytes or MIDI events.
  66.  
  67.  
  68. SYSTEM REQUIREMENTS
  69.  
  70.    DOS:                 3.0 or later
  71.  
  72.    Computer:            PC, XT, AT, and 100% compatibles.
  73.  
  74.    Memory:              256k - 640k.
  75.  
  76.    Coprocessor chip:    PatchBak does not require a math coprocessor chip, and 
  77.             will not benefit from a coprocessor.
  78.  
  79.    Disk drive:          One 360k floppy drive, minimum. Dual floppies or
  80.                         fixed disk recommended.
  81.  
  82.    MIDI Interface:      Developed for and tested with Music Quest MIDI
  83.                         Coprocessor Card. User reports confirm compatibility 
  84.             with Roland MPU-401.
  85.  
  86.    Character capacity:  262,000 character buffer. Actual capacity depends on
  87.             system RAM, DOS version, DOS disk buffers, and other 
  88.             memory-resident software. Typical capacity with DOS
  89.             3.3 is about 200,000 characters
  90.  
  91.    Receive Speed:    "386", AT, and 8MHz "Turbo" XT computers can receive 
  92.             sustained MIDI SysEx dumps at 3125 characters/second 
  93.             (the maximum MIDI spec) until memory is full. Actual 
  94.             transmission speed is controlled by the MIDI device.
  95.  
  96.             A 4.77MHz PC or XT computer will receive at least
  97.             32,767 MIDI characters at a sustained speed of 3125 
  98.             characters per second, and about 58,000 characters 
  99.             typically. Transmissions of more than 58,000 bytes at
  100.             maximum speed may overrun PatchBak's data buffer and 
  101.             result in data errors on a 4.77MHz.
  102.  
  103.    MIDI devices:        Requires that the MIDI device be able to initiate a
  104.                         System Exclusive dump. PB uses no handshaking.
  105.  
  106.    Files:               Evaluation version includes PB.EXE, PBSETUP.EXE, 
  107.             PB.DOC, and Microsoft library run-time file BRUN45.EXE. 
  108.                        Evaluation version requires that BRUN45.EXE be on the 
  109.             same floppy disk, or in the same fixed disk directory 
  110.             as PB.EXE and PBSETUP.EXE for correct operation.
  111.  
  112.  
  113.  
  114.                          **************************
  115.                          * OPERATING INSTRUCTIONS *
  116.                          **************************
  117.  
  118. You can figure out most PatchBak menu items intuitively by reading the on-
  119. screen instructions and trying the function. The following instructions will
  120. help you get PatchBak set up, and will highlight the few operating points that
  121. are not immediately obvious.
  122.  
  123. ******************
  124. * KEYBOARD INPUT *
  125. ******************
  126.  
  127. The PB programs will prompt you for input from the computer keyboard three ways:
  128.  
  129. 1. Menus require only that you enter the first letter of the menu choice. This 
  130.    letter is normally highlighted or a different color from the rest of the 
  131.    menu item.
  132.  
  133. 2. "Point and toggle" is used to select from a range of preset values. It 
  134.    requires that you use the cursor control " "  keys to move the on-screen 
  135.    pointer "" to the desired item, and the "+" or "-" keys to increase or 
  136.    decrease the value. Make changes and press <Enter> to select the choice. 
  137.  
  138. 3. Reverse video prompts require that you enter text or numeric data. The 
  139.    reverse video bar will accept the legal maximum of input characters. Type 
  140.    numbers or text and press <Enter>. Note: if you enter alpha characters where
  141.    numbers are expected, PatchBak will interpret the alpha characters as 0. 
  142.    This may produce some unwanted results, but no damage will be done.
  143.  
  144. The square bracket set "[]" in the on-screen instructions indicate optional 
  145. items, such as "[drive:]" or "[.ext]". If you omit optional items, defaults
  146. will be used. The angle bracket set "<>" is used to indicate a keystroke, such
  147. as "<Enter>" or "<Esc>". Just press the key; don't type the quotes or brackets.
  148.  
  149. Generally speaking, you can "back out" of any menu or function and return to 
  150. the main menu by repeatedly pressing the Escape <Esc> key. In most cases, you 
  151. can also answer prompts with <Esc> -- the entry operation will be aborted and 
  152. the last valid entry will be retained. 
  153.  
  154. ******************
  155. * ERROR MESSAGES *
  156. ******************
  157.  
  158. Illegal input or other error conditions will cause PatchBak to cycle through 
  159. one or more error messages. If this occurs, don't be alarmed. Just press <Esc> 
  160. after each error message until the error condition clears. Most error 
  161. conditions are explained with detail sufficient to let you correct the error. 
  162. Error notes also include an error number. If you want more information, these 
  163. error numbers are referenced in most interpreter BASIC manuals or a Microsoft 
  164. QuickBASIC manual. A very few error conditions return numbers but no 
  165. explanation. These will normally not appear regardless of what's gone wrong. 
  166.  
  167. Status updates will appear in response to some operations. These will clear 
  168. automatically after three seconds. You can erase them sooner by pressing <Esc>.
  169.  
  170. PatchBak must be run from a non-write-protected diskette. If the diskette is
  171. write protected, you will receive an error message as soon as you run PatchBak.
  172. Quit, remove the write protection, and rerun. 
  173.  
  174. ***********************
  175. * MAKE A WORKING DISK *
  176. ***********************
  177.  
  178. PatchBak can be operated from one or two floppy diskettes or a fixed disk.
  179.  
  180. NOTE: These instructions assume that you have extracted the file PB_ARC.EXE 
  181. to produce PB.EXE, PBSETUP.EXE, PB.DOC, and BRUN45.EXE. After you have done
  182. this, you will no longer need PB_ARC.EXE.
  183.  
  184.    o If you are running from a single floppy diskette, first boot from your
  185.      DOS diskette. Make sure the DOS diskette contains FORMAT.COM, and then
  186.      type the command "FORMAT A: /S". Insert a blank diskette in A: when
  187.      prompted to do so. Next, copy PB.EXE, PBSETUP.EXE. PB.DOC, and BRUN45.EXE
  188.      (but not PB_ARC.EXE) from your original diskette to the newly formatted 
  189.      working diskette. This will require some disk shuffling. Restart the 
  190.      computer with the new PatchBak working diskette in drive A:, and move to
  191.      the section "RUN PBSETUP".
  192.  
  193.    o If you are running with dual floppy diskettes, first boot from your DOS
  194.      diskette. Place a blank floppy diskette in Drive B:, and make sure the
  195.      DOS diskette in A: contains FORMAT.COM. Type the command "FORMAT B: /S"
  196.      to format the diskette in Drive B:. Next, place the disk containing the
  197.      PatchBak files in Drive A:, and copy PB.EXE, PBSETUP.EXE, PB.DOC, and
  198.      BRUN45.EXE (but not PB_ARC.EXE) to drive B:. Transfer the new PatchBak
  199.      working diskette from Drive B: to Drive A: and reboot the computer. 
  200.      Move to the section "RUN PBSETUP".
  201.  
  202.    o If you are running from a fixed disk, copy PB.EXE, PBSETUP.EXE, PB.DOC, 
  203.      BRUN45.EXE to a fixed disk directory (a separate directory for PatchBak is
  204.      suggested). Continue with the section "RUN PBSETUP".
  205.  
  206.      FIXED DISK USERS, NOTE: The DOS file COMMAND.COM must be accessible to
  207.      PatchBak, either in the PatchBak directory, or through the PATH command
  208.      in your AUTOEXEC.BAT file. 
  209.  
  210.  
  211. ***************
  212. * RUN PBSETUP *
  213. ***************
  214.  
  215. The "PBSETUP" program creates a configuration (.CNF) file which sets the per-
  216. sonality of the main PatchBak program. PBSETUP always searches for and loads
  217. the .CNF file if it exists. If no .CNF file is found, PBSETUP will generate a
  218. "default" setup which you can then modify to suit. When you quit PBSETUP, you
  219. will have a chance to check the information and change anything that isn't 
  220. satisfactory. Avoid copying the .CNF file from to machine to machine because it
  221. contains information based on the computer where it was created. This 
  222. information may not be valid on another machine. When and if you upgrade your 
  223. version of PatchBak, you should delete the old .CNF file and run the new 
  224. version of PBSETUP.
  225.  
  226. To run Setup:
  227. -------------
  228.  
  229.    1. For floppy disk systems, boot the computer using the PatchBak working
  230.       diskette. For fixed disk systems, ChDir to the directory containing the
  231.       PatchBak files.
  232.  
  233.    2. Type "PBSETUP" and press <Enter>.
  234.  
  235.    3. Select each item in the Setup menu, and make changes as necessary. Refer
  236.       to the following notes:
  237.  
  238.    MIDI ADDRESS and IRQ - suggested defaults for MCC and MPU-401 address
  239.       and IRQ are 330 and 2. If you have set a Music Quest MCC for another
  240.       address or interrupt, select the software address and IRQ to match. For 
  241.       other interfaces, consult the manufacturer's instructions for the 
  242.       address and interrupt.
  243.  
  244.    COLORS - follow the instructions at the bottom of the window. PBSETUP will
  245.       automatically detect your type of video card (color or mono) and suggest 
  246.       a different color set accordingly. If you are using a color graphics 
  247.       adapter with composite monochrome monitor, set the colors to 7,7,15,0,0.
  248.  
  249.    SOUND - turns the attention beep on and off. If you are in an environment 
  250.       where beeps are undesirable, disable the beep.
  251.  
  252.    BYTES IN MIDI DUMP - sets the number of bytes that PatchBak expects in a
  253.       MIDI dump. This number must equal or exceed the largest dump you expect 
  254.       to receive. Most dumps from non-sampling synths are less than 40,000 
  255.       bytes. If you are not sure, use the maximum capacity shown. Later,
  256.       you can run PatchBak and take sample dumps from your equipment. The
  257.       PatchBak Main Menu "Update..." option will enable you to revise the 
  258.       dump size without rerunning PBSETUP. 
  259.  
  260.    *ACCESSORY COMMAND - sets up the command or program that will be executed
  261.       when you press "*" from within the PB Main Menu. Also accepts a 
  262.       description of the command which will be shown as the "*" menu choice
  263.       in the PB Main Menu. The default accessory command is "Type PB.DOC" 
  264.       This will allow you to review the manual from within PatchBak. To 
  265.       execute other programs or DOS commands, simply type the name of the 
  266.       program or DOS command plus any command line modifiers which may be 
  267.       required. 
  268.  
  269.       For example, the PatchBak manual can be read more conveniently with a 
  270.       utility program such as "BROWSE" which is included on the PC Magazine
  271.       Utilities Disk. To use BROWSE, you would specify "BROWSE PB.DOC" as the 
  272.       accessory command. 
  273.  
  274.    DRIVE/DIRECTORY FOR DATA - specifies where the data files will be stored.
  275.       SETUP will use the current drive and directory by default.
  276.  
  277.    EXTENSION FOR DATA FILES - sets a common filename extension for data files.
  278.       ".DAT" is the default, but you may enter any 1-3 letters that are
  279.       appropriate for your data, for example: ".DX7", ".CZ1", ".D50", etc. 
  280.  
  281.    QUIT AND SAVE - shows the selections, and provides a chance to save them or
  282.       return to PBSETUP for changes. Also asks where you want the .CNF file to
  283.       be written. PBSETUP will write the .CNF file to the current drive and 
  284.       directory unless you specify differently. This feature enables you to 
  285.       install the software to another "target" diskette or directory.
  286.  
  287.  
  288. ****************
  289. * RUN PATCHBAK *
  290. ****************
  291.  
  292. Running the main PatchBak program is similar to running the PBSETUP program.
  293. Again, most functions are either obvious, or easy to figure out. The following
  294. notes touch upon the few functions that are not immediately obvious.
  295.  
  296. To run PatchBak:
  297. ----------------
  298.  
  299.    1. For floppy disk systems, boot the computer using the PatchBak working
  300.       diskette if you have not done so already. For fixed disk systems, ChDir
  301.       to the directory containing the PatchBak files.
  302.  
  303.    2. Type "PB" and press <Enter>. PatchBak will attempt to load the
  304.       PBSETUP.CNF file, and then find a MIDI interface at the address and IRQ
  305.       listed in the .CNF file. If a .CNF file is not found, you will be
  306.       prompted to Quit, Continue, or run the PBSETUP program. If you select 
  307.       "Continue", PB will run with a default setup and assume the address 330 
  308.       and interrupt 2 for the interface. If an interface is not found at 330 
  309.       and 2, you will be prompted and asked whether to Continue or Quit.
  310.  
  311.  
  312.    MAIN MENU
  313.    ---------
  314.  
  315.       MIDI DATA - selects the receive, send, save, and load functions.
  316.  
  317.       TOOLKIT - selects the MIDI trace and MIDI THRU functions.
  318.  
  319.       *(ACCESSORY DESCRIPTION) - executes the command you have defined as the
  320.          accessory command. The default accessory command will let you "type" 
  321.          the manual to the screen for on-line help. Just press "*", then use 
  322.          the <Pause> or <Ctrl NumLock> keys to stop, and to <spacebar> to 
  323.          resume the scrolling.
  324.  
  325.       DOS - temporarily leaves PatchBak and re-enters the DOS environment.
  326.          Type "EXIT" at the DOS prompt to return to PatchBak.
  327.  
  328.       UPDATE SETUP FILE - revises PBSETUP.CNF with your most recent drive/
  329.          directory, datafile extension, and dumpsize. Answer "Y" or "N" to
  330.          each of the prompts. If there was no .CNF file when you ran PatchBak, 
  331.      answering "Y" to any Update prompt will create a file with defaults 
  332.          for all parameters not covered in UPDATE.
  333.  
  334.       ABOUT PATCHBAK - Revision info, copyrights, and instructions for regis-
  335.          tering as a PatchBak user.
  336.  
  337.  
  338.    MIDI I/O MENU
  339.    -------------
  340.  
  341.       RECEIVE - enter the number of MIDI characters to be sent by the MIDI
  342.          device. Alternately, you can use the maximum size shown by the MIDI
  343.          I/O "Memory data" option.
  344.  
  345.          If the dump matches the expected number of bytes, PB will receive the 
  346.          dump and automatically return to the MIDI I/O MENU. 
  347.  
  348.          If the dump is shorter than the number of bytes expected, wait a few  
  349.          seconds after the dump finishes, and press <Esc>. 
  350.          
  351.          If the dump is longer than you expected, the message "MIDI device 
  352.      still sending!" will result. Increase the dumpsize and try again.
  353.  
  354.      Save data with the "W" option.     
  355.  
  356.       SEND - first load a data file from disk with the "L" option, and then 
  357.      press "S" to send. You may also send back data that has been received 
  358.          via MIDI dump.
  359.  
  360.       => NOTE: The channel number is a part of the MIDI System Exclusive dump.
  361.          Send data over the same channel used to receive it, or the MIDI
  362.          device will not recognize the transmission.
  363.  
  364.       WRITE - saves the data in memory to disk. Press "W" and enter a filename 
  365.          for your data. The filename extension is optional; the indicated 
  366.          extension will be used unless you include one in your filename. If you
  367.          include an extension, it will become the new default. If you need to
  368.          check files, type ? <Enter> in place of the filename to run the
  369.          Catalog. 
  370.  
  371.       LOAD - copies data from a disk file into memory. Press "L" and enter the 
  372.      name of the file to be loaded. See the notes under "WRITE" concerning
  373.          filenames and running the catalog. 
  374.  
  375.       DISK/DIRECTORY CHANGE - selects a new disk drive or directory for 
  376.          loading and saving data files.
  377.  
  378.       CATALOG - lists files in the chosen DISK/DIRECTORY. You may specify your
  379.          own search spec, such as *.DAT, *.*, etc. The default is "*." plus
  380.          the current default filename extension. CATALOG can also be called up
  381.          from the WRITE and LOAD prompts with ? <Enter>.
  382.  
  383.       MEMORY DATA - shows memory usage, and permits you to erase data in order 
  384.      to free up the MIDI data space. If an attempt to run DOS or your 
  385.      accessory command yields an "Out of Memory" error, first save your 
  386.      data, and then use MEMORY DATA ERASE to free up the memory. 
  387.  
  388.  
  389.    MCC TOOLKIT MENU
  390.  
  391.       HEX TRACE - shows the incoming MIDI stream as hex bytes.
  392.  
  393.       INTERPRETED HEX TRACE - translates incoming MIDI stream into verbal 
  394.          descriptions of MIDI events.
  395.  
  396.       ENABLE MIDI THRU - turns on the MCC's "MIDI THRU" feature. Data entering 
  397.      the MIDI IN port will be routed to the MIDI OUT port.
  398.  
  399.       DISABLE MIDI THRU - turns off the MCC's "MIDI THRU". Data entering the
  400.          MIDI IN port will not be routed to the MIDI OUT port.
  401.  
  402.       => NOTE: The last two functions are useful for experimenting with the
  403.          effects of self-triggering MIDI sounds. PatchBak normally defaults to 
  404.          the DISABLED state, and will revert to DISABLE after any MIDI I/O 
  405.          functions.
  406.  
  407.  
  408. REGISTER YOUR COPY - If you're completely satisfied with how PatchBak works
  409. with your MIDI gear and want to support the product, a donation of $25.00 
  410. (or ?) would be cheerfully accepted. 
  411.  
  412. $49.00 will get you PatchBak Version 2.10 which includes several enhancements
  413. not found in the evaluation. Specifically, its .EXE files don't need the
  414. BRUN45.EXE run-time support file, so take less total disk space. The menus work
  415. a bit more smoothly. Active Sense (FE) is now detected by Interpreted Trace. 
  416. Send $49.00 payable to:
  417.  
  418.                                Guy Zumpetta
  419.                                c/o MIDIware
  420.                                10945 Diagonal Road
  421.                                Mantua, OH 44255
  422.  
  423. Please specify 5-1/4" or 3-1/2" diskette, otherwise 5-1/4" will be sent.
  424.  
  425.  
  426.                             PRESS <Esc> TO RETURN
  427.  
  428.